package com.joysuch.wwyt.workflow.repository;

import com.joysuch.wwyt.workflow.entity.WorkflowWatermarkSettings;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zero
 * @since 2021-10-25
 */
public interface WorkflowWatermarkSettingsDao extends JpaRepository<WorkflowWatermarkSettings,Long> {

    /**
     *  获取流程id下的水印配置
     * @param workflowId 流程id
     * @return 
     */
    WorkflowWatermarkSettings findByWorkflowId(Long workflowId);
}
